-
Notifications
You must be signed in to change notification settings - Fork 74
nutanix AHV support #3311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
nutanix AHV support #3311
Conversation
Hi @tchernomax and thanks for your contribution, two questions:
|
Build action triggered: https://github.com/flatcar/scripts/actions/runs/18348277688 |
I don't really know. I think the best curse of action would be to ask nutanix themself. (if there is no need for
I didn't find any source online. |
I’ve asked Nutanix Support to take a look at this PR and provide feedback, just in case it helps |
the answer : 1 - Nutanix guest tools isn't opensource. I will provide an update tomorrow or Monday on this. |
Great thanks for asking. That'd be nice to have those guest tools to get the full support. Do you know what they add? I guess it's some helpers for network, system information, etc. ? Do you folks think that'd make sense to wait for this tools or Flatcar can be used without on Nutanix? |
From what I understand (@nutanix please correct me if I am wrong) it's for sending system information from the VM to the host (like ip and such).
We plan on using flatcar without nutanix tools, from the nutanix support told us it's not ideal but the system/flatcar should be fine. |
Ok then, we can start with an image without guest tools and revisit this later. To get back on the first point ( |
sorry the Nutanix support team can't help us on this. They have close the case. I have reach out to our account team |
I changed this PR to remove "AHV" reference and only use |
Thanks! I'll setup our CI system to build |
yes (I might not be very responsive but I will make time to tests the images you provide) |
add nutanix AHV support
ignition support nutanix AHV, the only thing to do is to add
flatcar.oem.id=nutanix
in the kernel cmdline.However, Nutanix doesn't provide its "Nutanix Guest Tools" in any other format than .deb or .rpm -> so I didn't port it to flatcar.
I managed to create a nutanix AHV flatcar image (without nutanix guest tools... but that doesn't forbid the VM to run) by following this path:
(it tested it on a Nutanix AHV infra, also tried a flatcar update (via nebraska) -> it works)
And creating the VM with the ignition config provided as "cloud_init" "guest_customization":
https://www.nutanix.dev/api_reference/apis/prism_v3.html#tag/vms/paths/~1vms/post
I tried to reproduce this path in this PR, but I can't try the resulting image myself.
It build on my desktop, but I can't upload it to a nutanix AHV platform due to my poor home network connection.
And I failed to build the image on the remote host (where I updated the
flatcar_production_image.bin.bz2
official image).How to use
If what I changed in the code is in fact the equivalent of the adding
oem_id="nutanix"
in thegrub.cfg
of the OEM partition.This PR should be ok.
Otherwise, please guide me (I am a noob in flatcar dev).
Testing done
I created an image :
I tried this ignition config:
and checked that
/toto
was actually created at boot.(I also tried some more advanced ignition config).